package cn.coderliu.apis;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;


@FeignClient(value = "gts-account")
public interface AccountApis {

    @PostMapping(value = "/account/add")
    void add(@RequestParam("count") Integer count);


    @PostMapping(value = "/account/reduce")
    void reduce(@RequestParam("count") Integer count);
}
